package player

import (
	"base"
	"proto/player"
	. "test_client/logic/internal"
)

type playerService struct {
}

func init() {
	Service.Register(new(playerService))
}

func (*playerService) Name() string {
	return "proto_player"
}

func (*playerService) SyncData(msg *proto_player.SyncData) (err error) {
	base.Logger.Release("Name: %s", msg.Name)

	return
}

func (*playerService) SyncLevel(msg *proto_player.SyncLevel) (err error) {

	return
}
func (*playerService) OnTestSetLevel(msg *proto_player.OnTestSetLevel) (err error) {

	return
}

func (*playerService) OnTestSetName(msg *proto_player.OnTestSetName) (err error) {

	return
}
